package com.example.service2;

import com.example.entity.Student;
import com.example.mapper.StudentMapper;
import xyz.lwm.lazycat.web.annocation.Service;

import javax.annotation.Resource;
import java.util.List;

// 同名不同包的类, 测试重命名
@Service
public class ExampleService {

    @Resource
    private StudentMapper studentMapper;

    public List<Student> getStudentList() {
        return studentMapper.selectAll();
    }

}
